﻿using NPOI.SS.UserModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AF_Excel
{
    public class FieldStyle
    {
        private EnumAlignment _Alignment = EnumAlignment.Auto;
        public EnumAlignment Alignment { get { return _Alignment; } set { _Alignment = value; } }

        private string _FontName = "微软雅黑";
        public string FontName { get { return _FontName; } set { _FontName = value; } }

        private short _FontColorIndex = 8;
        public short FontColorIndex { get { return _FontColorIndex; } set { _FontColorIndex = value; } }

        private short _FontSize = 11;
        public short FontSize { get { return _FontSize; } set { _FontSize = value; } }
        
        private short _BackColorIndex = 0;
        public short BackColorIndex { get { return _BackColorIndex; } set { _BackColorIndex = value; } }

        private BorderStyle _BorderLeft = BorderStyle.None;
        public BorderStyle BorderLeft { get { return _BorderLeft; } set { _BorderLeft = value; } }

        private BorderStyle _BorderTop = BorderStyle.None;
        public BorderStyle BorderTop { get { return _BorderTop; } set { _BorderTop = value; } }

        private BorderStyle _BorderRight = BorderStyle.None;
        public BorderStyle BorderRight { get { return _BorderRight; } set { _BorderRight = value; } }

        private BorderStyle _BorderBottom = BorderStyle.None;
        public BorderStyle BorderBottom { get { return _BorderBottom; } set { _BorderBottom = value; } }

        private BorderStyle _Border = BorderStyle.None;
        public BorderStyle Border { get { return _Border; } set { _Border = value; } }

        private short _BorderLeftColor = 8;
        public short BorderLeftColor { get { return _BorderLeftColor; } set { _BorderLeftColor = value; } }

        private short _BorderTopColor = 8;
        public short BorderTopColor { get { return _BorderTopColor; } set { _BorderTopColor = value; } }

        private short _BorderRightColor = 8;
        public short BorderRightColor { get { return _BorderRightColor; } set { _BorderRightColor = value; } }

        private short _BorderBottomColor = 8;
        public short BorderBottomColor { get { return _BorderBottomColor; } set { _BorderBottomColor = value; } }
        private short _BorderColor = 8;
        public short BorderColor { get { return _BorderColor; } set { _BorderColor = value; } }
        public string DataFormat { get; set; }
    }
}
